import { DevStatusEnums } from '@/pages/commodity/developRequirementPlan/constants/enums'

export const DEV_STATUS_VALUES = DevStatusEnums.values

export const FORM_ITEMS = [
  {
    prop: 'reqNo',
    label: '需求单号',
    type: 'input'
  },
  {
    prop: 'reqDetailNo',
    label: '需求编号',
    type: 'input'
  },
  {
    prop: 'categoryUuids',
    label: '品类',
    type: 'slot',
    slotName: 'category',
    defaultVal: []
  },
  {
    prop: 'brandName',
    label: '品牌',
    type: 'input'
  },
  {
    prop: 'skuNo',
    label: 'SKU编码',
    type: 'input'
  },
]

export const TABLE_COLUMNS = [
  {
    title: '需求单号',
    key: 'reqNo',
    width: 150
  },
  {
    title: '需求编号',
    key: 'reqDetailNo',
    width: 150
  },
  {
    title: '需求日期',
    key: 'createOpeTime',
    width: 150
  },
  {
    title: '开发类型',
    key: 'devStatusStr'
  },
  {
    title: '需求发起人',
    key: 'sponsorName'
  },
  {
    title: '需求发起部门',
    key: 'sponsorDeptName'
  },

  {
    title: '需求发起区域',
    key: 'sponsorAreaName'
  },
  {
    title: '品类编码',
    key: 'categoryNo',
    width: 150
  },
  {
    title: '品类树',
    key: 'categoryPath',
    width: 300
  },
  {
    title: '品牌',
    key: 'brandName'
  },
  {
    title: '归属中心',
    key: 'belongCenterName',
    width: 150
  },
  {
    title: '归属部门',
    key: 'belongDeptName',
    width: 150
  },
  {
    title: '行业',
    key: 'tradeStr'
  },
  {
    title: '档次',
    key: 'gradeStr'
  },
  {
    title: 'SKU编码',
    key: 'skuNo'
  },
  {
    title: '商品名称',
    key: 'productName'
  },
  {
    title: '规格',
    key: 'spec'
  },
  {
    title: '计量单位',
    key: 'unitName'
  },
  {
    title: '订货频次',
    key: 'orderFrequency'
  },
  {
    title: '订货金额',
    key: 'orderAmount'
  },
]
